package functions;
import main.ContingencyTable;


public class OddsRatioFunction extends GeneralFunction {

	public OddsRatioFunction(String name) {
		super(name);
	}

	@Override
	public double calculate(ContingencyTable t) {
		return (t.f11() * t.f00()) / (t.f10() * t.f01());
	}

}
